<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">

<html lang="en">

<head>
  <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  <title>LCOV - ohos_codeCoverage.info - prebuilts/clang/ohos/linux-x86_64/llvm/include/libcxx-ohos/include/c++/v1/__memory/allocator_traits.h</title>
  <link rel="stylesheet" type="text/css" href="../../../../../../../../../../../gcov.css">
</head>

<body>

  <table width="100%" border=0 cellspacing=0 cellpadding=0>
    <tr><td class="title">LCOV - code coverage report</td></tr>
    <tr><td class="ruler"><img src="../../../../../../../../../../../glass.png" width=3 height=3 alt=""></td></tr>

    <tr>
      <td width="100%">
        <table cellpadding=1 border=0 width="100%">
          <tr>
            <td width="10%" class="headerItem">Current view:</td>
            <td width="35%" class="headerValue"><a href="../../../../../../../../../../../index.html">top level</a> - <a href="index.html">prebuilts/clang/ohos/linux-x86_64/llvm/include/libcxx-ohos/include/c++/v1/__memory</a> - allocator_traits.h<span style="font-size: 80%;"> (source / <a href="allocator_traits.h.func-sort-c.html">functions</a>)</span></td>
            <td width="5%"></td>
            <td width="15%"></td>
            <td width="10%" class="headerCovTableHead">Hit</td>
            <td width="10%" class="headerCovTableHead">Total</td>
            <td width="15%" class="headerCovTableHead">Coverage</td>
          </tr>
          <tr>
            <td class="headerItem">Test:</td>
            <td class="headerValue">ohos_codeCoverage.info</td>
            <td></td>
            <td class="headerItem">Lines:</td>
            <td class="headerCovTableEntry">3</td>
            <td class="headerCovTableEntry">7</td>
            <td class="headerCovTableEntryLo">42.9 %</td>
          </tr>
          <tr>
            <td class="headerItem">Date:</td>
            <td class="headerValue">2022-08-23 10:37:51</td>
            <td></td>
            <td class="headerItem">Functions:</td>
            <td class="headerCovTableEntry">1</td>
            <td class="headerCovTableEntry">3</td>
            <td class="headerCovTableEntryLo">33.3 %</td>
          </tr>
          <tr>
            <td></td>
            <td></td>
            <td></td>
            <td class="headerItem">Branches:</td>
            <td class="headerCovTableEntry">0</td>
            <td class="headerCovTableEntry">0</td>
            <td class="headerCovTableEntryHi">-</td>
          </tr>
          <tr><td><img src="../../../../../../../../../../../glass.png" width=3 height=3 alt=""></td></tr>
        </table>
      </td>
    </tr>

    <tr><td class="ruler"><img src="../../../../../../../../../../../glass.png" width=3 height=3 alt=""></td></tr>
  </table>

  <table cellpadding=0 cellspacing=0 border=0>
    <tr>
      <td><br></td>
    </tr>
    <tr>
      <td>
<pre class="sourceHeading">           Branch data     Line data    Source code</pre>
<pre class="source">
<a name="1"><span class="lineNum">       1 </span>                :            : // -*- C++ -*-</a>
<a name="2"><span class="lineNum">       2 </span>                :            : //===----------------------------------------------------------------------===//</a>
<a name="3"><span class="lineNum">       3 </span>                :            : //</a>
<a name="4"><span class="lineNum">       4 </span>                :            : // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.</a>
<a name="5"><span class="lineNum">       5 </span>                :            : // See https://llvm.org/LICENSE.txt for license information.</a>
<a name="6"><span class="lineNum">       6 </span>                :            : // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception</a>
<a name="7"><span class="lineNum">       7 </span>                :            : //</a>
<a name="8"><span class="lineNum">       8 </span>                :            : //===----------------------------------------------------------------------===//</a>
<a name="9"><span class="lineNum">       9 </span>                :            : </a>
<a name="10"><span class="lineNum">      10 </span>                :            : #ifndef _LIBCPP___MEMORY_ALLOCATOR_TRAITS_H</a>
<a name="11"><span class="lineNum">      11 </span>                :            : #define _LIBCPP___MEMORY_ALLOCATOR_TRAITS_H</a>
<a name="12"><span class="lineNum">      12 </span>                :            : </a>
<a name="13"><span class="lineNum">      13 </span>                :            : #include &lt;__config&gt;</a>
<a name="14"><span class="lineNum">      14 </span>                :            : #include &lt;__memory/base.h&gt;</a>
<a name="15"><span class="lineNum">      15 </span>                :            : #include &lt;__memory/pointer_traits.h&gt;</a>
<a name="16"><span class="lineNum">      16 </span>                :            : #include &lt;type_traits&gt;</a>
<a name="17"><span class="lineNum">      17 </span>                :            : </a>
<a name="18"><span class="lineNum">      18 </span>                :            : #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)</a>
<a name="19"><span class="lineNum">      19 </span>                :            : #pragma GCC system_header</a>
<a name="20"><span class="lineNum">      20 </span>                :            : #endif</a>
<a name="21"><span class="lineNum">      21 </span>                :            : </a>
<a name="22"><span class="lineNum">      22 </span>                :            : _LIBCPP_PUSH_MACROS</a>
<a name="23"><span class="lineNum">      23 </span>                :            : #include &lt;__undef_macros&gt;</a>
<a name="24"><span class="lineNum">      24 </span>                :            : </a>
<a name="25"><span class="lineNum">      25 </span>                :            : _LIBCPP_BEGIN_NAMESPACE_STD</a>
<a name="26"><span class="lineNum">      26 </span>                :            : </a>
<a name="27"><span class="lineNum">      27 </span>                :            : #define _LIBCPP_ALLOCATOR_TRAITS_HAS_XXX(NAME, PROPERTY)                \</a>
<a name="28"><span class="lineNum">      28 </span>                :            :     template &lt;class _Tp, class = void&gt; struct NAME : false_type { };    \</a>
<a name="29"><span class="lineNum">      29 </span>                :            :     template &lt;class _Tp&gt;               struct NAME&lt;_Tp, typename __void_t&lt;typename _Tp:: PROPERTY &gt;::type&gt; : true_type { }</a>
<a name="30"><span class="lineNum">      30 </span>                :            : </a>
<a name="31"><span class="lineNum">      31 </span>                :            : // __pointer</a>
<a name="32"><span class="lineNum">      32 </span>                :            : _LIBCPP_ALLOCATOR_TRAITS_HAS_XXX(__has_pointer, pointer);</a>
<a name="33"><span class="lineNum">      33 </span>                :            : template &lt;class _Tp, class _Alloc,</a>
<a name="34"><span class="lineNum">      34 </span>                :            :           class _RawAlloc = typename remove_reference&lt;_Alloc&gt;::type,</a>
<a name="35"><span class="lineNum">      35 </span>                :            :           bool = __has_pointer&lt;_RawAlloc&gt;::value&gt;</a>
<a name="36"><span class="lineNum">      36 </span>                :            : struct __pointer {</a>
<a name="37"><span class="lineNum">      37 </span>                :            :     using type _LIBCPP_NODEBUG_TYPE = typename _RawAlloc::pointer;</a>
<a name="38"><span class="lineNum">      38 </span>                :            : };</a>
<a name="39"><span class="lineNum">      39 </span>                :            : template &lt;class _Tp, class _Alloc, class _RawAlloc&gt;</a>
<a name="40"><span class="lineNum">      40 </span>                :            : struct __pointer&lt;_Tp, _Alloc, _RawAlloc, false&gt; {</a>
<a name="41"><span class="lineNum">      41 </span>                :            :     using type _LIBCPP_NODEBUG_TYPE = _Tp*;</a>
<a name="42"><span class="lineNum">      42 </span>                :            : };</a>
<a name="43"><span class="lineNum">      43 </span>                :            : </a>
<a name="44"><span class="lineNum">      44 </span>                :            : // __const_pointer</a>
<a name="45"><span class="lineNum">      45 </span>                :            : _LIBCPP_ALLOCATOR_TRAITS_HAS_XXX(__has_const_pointer, const_pointer);</a>
<a name="46"><span class="lineNum">      46 </span>                :            : template &lt;class _Tp, class _Ptr, class _Alloc,</a>
<a name="47"><span class="lineNum">      47 </span>                :            :           bool = __has_const_pointer&lt;_Alloc&gt;::value&gt;</a>
<a name="48"><span class="lineNum">      48 </span>                :            : struct __const_pointer {</a>
<a name="49"><span class="lineNum">      49 </span>                :            :     using type _LIBCPP_NODEBUG_TYPE = typename _Alloc::const_pointer;</a>
<a name="50"><span class="lineNum">      50 </span>                :            : };</a>
<a name="51"><span class="lineNum">      51 </span>                :            : template &lt;class _Tp, class _Ptr, class _Alloc&gt;</a>
<a name="52"><span class="lineNum">      52 </span>                :            : struct __const_pointer&lt;_Tp, _Ptr, _Alloc, false&gt; {</a>
<a name="53"><span class="lineNum">      53 </span>                :            : #ifdef _LIBCPP_CXX03_LANG</a>
<a name="54"><span class="lineNum">      54 </span>                :            :     using type = typename pointer_traits&lt;_Ptr&gt;::template rebind&lt;const _Tp&gt;::other;</a>
<a name="55"><span class="lineNum">      55 </span>                :            : #else</a>
<a name="56"><span class="lineNum">      56 </span>                :            :     using type _LIBCPP_NODEBUG_TYPE = typename pointer_traits&lt;_Ptr&gt;::template rebind&lt;const _Tp&gt;;</a>
<a name="57"><span class="lineNum">      57 </span>                :            : #endif</a>
<a name="58"><span class="lineNum">      58 </span>                :            : };</a>
<a name="59"><span class="lineNum">      59 </span>                :            : </a>
<a name="60"><span class="lineNum">      60 </span>                :            : // __void_pointer</a>
<a name="61"><span class="lineNum">      61 </span>                :            : _LIBCPP_ALLOCATOR_TRAITS_HAS_XXX(__has_void_pointer, void_pointer);</a>
<a name="62"><span class="lineNum">      62 </span>                :            : template &lt;class _Ptr, class _Alloc,</a>
<a name="63"><span class="lineNum">      63 </span>                :            :           bool = __has_void_pointer&lt;_Alloc&gt;::value&gt;</a>
<a name="64"><span class="lineNum">      64 </span>                :            : struct __void_pointer {</a>
<a name="65"><span class="lineNum">      65 </span>                :            :     using type _LIBCPP_NODEBUG_TYPE = typename _Alloc::void_pointer;</a>
<a name="66"><span class="lineNum">      66 </span>                :            : };</a>
<a name="67"><span class="lineNum">      67 </span>                :            : template &lt;class _Ptr, class _Alloc&gt;</a>
<a name="68"><span class="lineNum">      68 </span>                :            : struct __void_pointer&lt;_Ptr, _Alloc, false&gt; {</a>
<a name="69"><span class="lineNum">      69 </span>                :            : #ifdef _LIBCPP_CXX03_LANG</a>
<a name="70"><span class="lineNum">      70 </span>                :            :     using type _LIBCPP_NODEBUG_TYPE = typename pointer_traits&lt;_Ptr&gt;::template rebind&lt;void&gt;::other;</a>
<a name="71"><span class="lineNum">      71 </span>                :            : #else</a>
<a name="72"><span class="lineNum">      72 </span>                :            :     using type _LIBCPP_NODEBUG_TYPE = typename pointer_traits&lt;_Ptr&gt;::template rebind&lt;void&gt;;</a>
<a name="73"><span class="lineNum">      73 </span>                :            : #endif</a>
<a name="74"><span class="lineNum">      74 </span>                :            : };</a>
<a name="75"><span class="lineNum">      75 </span>                :            : </a>
<a name="76"><span class="lineNum">      76 </span>                :            : // __const_void_pointer</a>
<a name="77"><span class="lineNum">      77 </span>                :            : _LIBCPP_ALLOCATOR_TRAITS_HAS_XXX(__has_const_void_pointer, const_void_pointer);</a>
<a name="78"><span class="lineNum">      78 </span>                :            : template &lt;class _Ptr, class _Alloc,</a>
<a name="79"><span class="lineNum">      79 </span>                :            :           bool = __has_const_void_pointer&lt;_Alloc&gt;::value&gt;</a>
<a name="80"><span class="lineNum">      80 </span>                :            : struct __const_void_pointer {</a>
<a name="81"><span class="lineNum">      81 </span>                :            :     using type _LIBCPP_NODEBUG_TYPE = typename _Alloc::const_void_pointer;</a>
<a name="82"><span class="lineNum">      82 </span>                :            : };</a>
<a name="83"><span class="lineNum">      83 </span>                :            : template &lt;class _Ptr, class _Alloc&gt;</a>
<a name="84"><span class="lineNum">      84 </span>                :            : struct __const_void_pointer&lt;_Ptr, _Alloc, false&gt; {</a>
<a name="85"><span class="lineNum">      85 </span>                :            : #ifdef _LIBCPP_CXX03_LANG</a>
<a name="86"><span class="lineNum">      86 </span>                :            :     using type _LIBCPP_NODEBUG_TYPE = typename pointer_traits&lt;_Ptr&gt;::template rebind&lt;const void&gt;::other;</a>
<a name="87"><span class="lineNum">      87 </span>                :            : #else</a>
<a name="88"><span class="lineNum">      88 </span>                :            :     using type _LIBCPP_NODEBUG_TYPE = typename pointer_traits&lt;_Ptr&gt;::template rebind&lt;const void&gt;;</a>
<a name="89"><span class="lineNum">      89 </span>                :            : #endif</a>
<a name="90"><span class="lineNum">      90 </span>                :            : };</a>
<a name="91"><span class="lineNum">      91 </span>                :            : </a>
<a name="92"><span class="lineNum">      92 </span>                :            : // __size_type</a>
<a name="93"><span class="lineNum">      93 </span>                :            : _LIBCPP_ALLOCATOR_TRAITS_HAS_XXX(__has_size_type, size_type);</a>
<a name="94"><span class="lineNum">      94 </span>                :            : template &lt;class _Alloc, class _DiffType, bool = __has_size_type&lt;_Alloc&gt;::value&gt;</a>
<a name="95"><span class="lineNum">      95 </span>                :            : struct __size_type : make_unsigned&lt;_DiffType&gt; { };</a>
<a name="96"><span class="lineNum">      96 </span>                :            : template &lt;class _Alloc, class _DiffType&gt;</a>
<a name="97"><span class="lineNum">      97 </span>                :            : struct __size_type&lt;_Alloc, _DiffType, true&gt; {</a>
<a name="98"><span class="lineNum">      98 </span>                :            :     using type _LIBCPP_NODEBUG_TYPE = typename _Alloc::size_type;</a>
<a name="99"><span class="lineNum">      99 </span>                :            : };</a>
<a name="100"><span class="lineNum">     100 </span>                :            : </a>
<a name="101"><span class="lineNum">     101 </span>                :            : // __alloc_traits_difference_type</a>
<a name="102"><span class="lineNum">     102 </span>                :            : _LIBCPP_ALLOCATOR_TRAITS_HAS_XXX(__has_alloc_traits_difference_type, difference_type);</a>
<a name="103"><span class="lineNum">     103 </span>                :            : template &lt;class _Alloc, class _Ptr, bool = __has_alloc_traits_difference_type&lt;_Alloc&gt;::value&gt;</a>
<a name="104"><span class="lineNum">     104 </span>                :            : struct __alloc_traits_difference_type {</a>
<a name="105"><span class="lineNum">     105 </span>                :            :     using type _LIBCPP_NODEBUG_TYPE = typename pointer_traits&lt;_Ptr&gt;::difference_type;</a>
<a name="106"><span class="lineNum">     106 </span>                :            : };</a>
<a name="107"><span class="lineNum">     107 </span>                :            : template &lt;class _Alloc, class _Ptr&gt;</a>
<a name="108"><span class="lineNum">     108 </span>                :            : struct __alloc_traits_difference_type&lt;_Alloc, _Ptr, true&gt; {</a>
<a name="109"><span class="lineNum">     109 </span>                :            :     using type _LIBCPP_NODEBUG_TYPE = typename _Alloc::difference_type;</a>
<a name="110"><span class="lineNum">     110 </span>                :            : };</a>
<a name="111"><span class="lineNum">     111 </span>                :            : </a>
<a name="112"><span class="lineNum">     112 </span>                :            : // __propagate_on_container_copy_assignment</a>
<a name="113"><span class="lineNum">     113 </span>                :            : _LIBCPP_ALLOCATOR_TRAITS_HAS_XXX(__has_propagate_on_container_copy_assignment, propagate_on_container_copy_assignment);</a>
<a name="114"><span class="lineNum">     114 </span>                :            : template &lt;class _Alloc, bool = __has_propagate_on_container_copy_assignment&lt;_Alloc&gt;::value&gt;</a>
<a name="115"><span class="lineNum">     115 </span>                :            : struct __propagate_on_container_copy_assignment : false_type { };</a>
<a name="116"><span class="lineNum">     116 </span>                :            : template &lt;class _Alloc&gt;</a>
<a name="117"><span class="lineNum">     117 </span>                :            : struct __propagate_on_container_copy_assignment&lt;_Alloc, true&gt; {</a>
<a name="118"><span class="lineNum">     118 </span>                :            :     using type _LIBCPP_NODEBUG_TYPE = typename _Alloc::propagate_on_container_copy_assignment;</a>
<a name="119"><span class="lineNum">     119 </span>                :            : };</a>
<a name="120"><span class="lineNum">     120 </span>                :            : </a>
<a name="121"><span class="lineNum">     121 </span>                :            : // __propagate_on_container_move_assignment</a>
<a name="122"><span class="lineNum">     122 </span>                :            : _LIBCPP_ALLOCATOR_TRAITS_HAS_XXX(__has_propagate_on_container_move_assignment, propagate_on_container_move_assignment);</a>
<a name="123"><span class="lineNum">     123 </span>                :            : template &lt;class _Alloc, bool = __has_propagate_on_container_move_assignment&lt;_Alloc&gt;::value&gt;</a>
<a name="124"><span class="lineNum">     124 </span>                :            : struct __propagate_on_container_move_assignment : false_type { };</a>
<a name="125"><span class="lineNum">     125 </span>                :            : template &lt;class _Alloc&gt;</a>
<a name="126"><span class="lineNum">     126 </span>                :            : struct __propagate_on_container_move_assignment&lt;_Alloc, true&gt; {</a>
<a name="127"><span class="lineNum">     127 </span>                :            :     using type _LIBCPP_NODEBUG_TYPE = typename _Alloc::propagate_on_container_move_assignment;</a>
<a name="128"><span class="lineNum">     128 </span>                :            : };</a>
<a name="129"><span class="lineNum">     129 </span>                :            : </a>
<a name="130"><span class="lineNum">     130 </span>                :            : // __propagate_on_container_swap</a>
<a name="131"><span class="lineNum">     131 </span>                :            : _LIBCPP_ALLOCATOR_TRAITS_HAS_XXX(__has_propagate_on_container_swap, propagate_on_container_swap);</a>
<a name="132"><span class="lineNum">     132 </span>                :            : template &lt;class _Alloc, bool = __has_propagate_on_container_swap&lt;_Alloc&gt;::value&gt;</a>
<a name="133"><span class="lineNum">     133 </span>                :            : struct __propagate_on_container_swap : false_type { };</a>
<a name="134"><span class="lineNum">     134 </span>                :            : template &lt;class _Alloc&gt;</a>
<a name="135"><span class="lineNum">     135 </span>                :            : struct __propagate_on_container_swap&lt;_Alloc, true&gt; {</a>
<a name="136"><span class="lineNum">     136 </span>                :            :     using type _LIBCPP_NODEBUG_TYPE = typename _Alloc::propagate_on_container_swap;</a>
<a name="137"><span class="lineNum">     137 </span>                :            : };</a>
<a name="138"><span class="lineNum">     138 </span>                :            : </a>
<a name="139"><span class="lineNum">     139 </span>                :            : // __is_always_equal</a>
<a name="140"><span class="lineNum">     140 </span>                :            : _LIBCPP_ALLOCATOR_TRAITS_HAS_XXX(__has_is_always_equal, is_always_equal);</a>
<a name="141"><span class="lineNum">     141 </span>                :            : template &lt;class _Alloc, bool = __has_is_always_equal&lt;_Alloc&gt;::value&gt;</a>
<a name="142"><span class="lineNum">     142 </span>                :            : struct __is_always_equal : is_empty&lt;_Alloc&gt; { };</a>
<a name="143"><span class="lineNum">     143 </span>                :            : template &lt;class _Alloc&gt;</a>
<a name="144"><span class="lineNum">     144 </span>                :            : struct __is_always_equal&lt;_Alloc, true&gt; {</a>
<a name="145"><span class="lineNum">     145 </span>                :            :     using type _LIBCPP_NODEBUG_TYPE = typename _Alloc::is_always_equal;</a>
<a name="146"><span class="lineNum">     146 </span>                :            : };</a>
<a name="147"><span class="lineNum">     147 </span>                :            : </a>
<a name="148"><span class="lineNum">     148 </span>                :            : // __allocator_traits_rebind</a>
<a name="149"><span class="lineNum">     149 </span>                :            : _LIBCPP_SUPPRESS_DEPRECATED_PUSH</a>
<a name="150"><span class="lineNum">     150 </span>                :            : template &lt;class _Tp, class _Up, class = void&gt;</a>
<a name="151"><span class="lineNum">     151 </span>                :            : struct __has_rebind_other : false_type { };</a>
<a name="152"><span class="lineNum">     152 </span>                :            : template &lt;class _Tp, class _Up&gt;</a>
<a name="153"><span class="lineNum">     153 </span>                :            : struct __has_rebind_other&lt;_Tp, _Up, typename __void_t&lt;</a>
<a name="154"><span class="lineNum">     154 </span>                :            :     typename _Tp::template rebind&lt;_Up&gt;::other</a>
<a name="155"><span class="lineNum">     155 </span>                :            : &gt;::type&gt; : true_type { };</a>
<a name="156"><span class="lineNum">     156 </span>                :            : </a>
<a name="157"><span class="lineNum">     157 </span>                :            : template &lt;class _Tp, class _Up, bool = __has_rebind_other&lt;_Tp, _Up&gt;::value&gt;</a>
<a name="158"><span class="lineNum">     158 </span>                :            : struct __allocator_traits_rebind {</a>
<a name="159"><span class="lineNum">     159 </span>                :            :     using type _LIBCPP_NODEBUG_TYPE = typename _Tp::template rebind&lt;_Up&gt;::other;</a>
<a name="160"><span class="lineNum">     160 </span>                :            : };</a>
<a name="161"><span class="lineNum">     161 </span>                :            : template &lt;template &lt;class, class...&gt; class _Alloc, class _Tp, class ..._Args, class _Up&gt;</a>
<a name="162"><span class="lineNum">     162 </span>                :            : struct __allocator_traits_rebind&lt;_Alloc&lt;_Tp, _Args...&gt;, _Up, true&gt; {</a>
<a name="163"><span class="lineNum">     163 </span>                :            :     using type _LIBCPP_NODEBUG_TYPE = typename _Alloc&lt;_Tp, _Args...&gt;::template rebind&lt;_Up&gt;::other;</a>
<a name="164"><span class="lineNum">     164 </span>                :            : };</a>
<a name="165"><span class="lineNum">     165 </span>                :            : template &lt;template &lt;class, class...&gt; class _Alloc, class _Tp, class ..._Args, class _Up&gt;</a>
<a name="166"><span class="lineNum">     166 </span>                :            : struct __allocator_traits_rebind&lt;_Alloc&lt;_Tp, _Args...&gt;, _Up, false&gt; {</a>
<a name="167"><span class="lineNum">     167 </span>                :            :     using type _LIBCPP_NODEBUG_TYPE = _Alloc&lt;_Up, _Args...&gt;;</a>
<a name="168"><span class="lineNum">     168 </span>                :            : };</a>
<a name="169"><span class="lineNum">     169 </span>                :            : _LIBCPP_SUPPRESS_DEPRECATED_POP</a>
<a name="170"><span class="lineNum">     170 </span>                :            : </a>
<a name="171"><span class="lineNum">     171 </span>                :            : template&lt;class _Alloc, class _Tp&gt;</a>
<a name="172"><span class="lineNum">     172 </span>                :            : using __allocator_traits_rebind_t = typename __allocator_traits_rebind&lt;_Alloc, _Tp&gt;::type;</a>
<a name="173"><span class="lineNum">     173 </span>                :            : </a>
<a name="174"><span class="lineNum">     174 </span>                :            : _LIBCPP_SUPPRESS_DEPRECATED_PUSH</a>
<a name="175"><span class="lineNum">     175 </span>                :            : </a>
<a name="176"><span class="lineNum">     176 </span>                :            : // __has_allocate_hint</a>
<a name="177"><span class="lineNum">     177 </span>                :            : template &lt;class _Alloc, class _SizeType, class _ConstVoidPtr, class = void&gt;</a>
<a name="178"><span class="lineNum">     178 </span>                :            : struct __has_allocate_hint : false_type { };</a>
<a name="179"><span class="lineNum">     179 </span>                :            : </a>
<a name="180"><span class="lineNum">     180 </span>                :            : template &lt;class _Alloc, class _SizeType, class _ConstVoidPtr&gt;</a>
<a name="181"><span class="lineNum">     181 </span>                :            : struct __has_allocate_hint&lt;_Alloc, _SizeType, _ConstVoidPtr, decltype(</a>
<a name="182"><span class="lineNum">     182 </span>                :            :     (void)declval&lt;_Alloc&gt;().allocate(declval&lt;_SizeType&gt;(), declval&lt;_ConstVoidPtr&gt;())</a>
<a name="183"><span class="lineNum">     183 </span>                :            : )&gt; : true_type { };</a>
<a name="184"><span class="lineNum">     184 </span>                :            : </a>
<a name="185"><span class="lineNum">     185 </span>                :            : // __has_construct</a>
<a name="186"><span class="lineNum">     186 </span>                :            : template &lt;class, class _Alloc, class ..._Args&gt;</a>
<a name="187"><span class="lineNum">     187 </span>                :            : struct __has_construct_impl : false_type { };</a>
<a name="188"><span class="lineNum">     188 </span>                :            : </a>
<a name="189"><span class="lineNum">     189 </span>                :            : template &lt;class _Alloc, class ..._Args&gt;</a>
<a name="190"><span class="lineNum">     190 </span>                :            : struct __has_construct_impl&lt;decltype(</a>
<a name="191"><span class="lineNum">     191 </span>                :            :     (void)declval&lt;_Alloc&gt;().construct(declval&lt;_Args&gt;()...)</a>
<a name="192"><span class="lineNum">     192 </span>                :            : ), _Alloc, _Args...&gt; : true_type { };</a>
<a name="193"><span class="lineNum">     193 </span>                :            : </a>
<a name="194"><span class="lineNum">     194 </span>                :            : template &lt;class _Alloc, class ..._Args&gt;</a>
<a name="195"><span class="lineNum">     195 </span>                :            : struct __has_construct : __has_construct_impl&lt;void, _Alloc, _Args...&gt; { };</a>
<a name="196"><span class="lineNum">     196 </span>                :            : </a>
<a name="197"><span class="lineNum">     197 </span>                :            : // __has_destroy</a>
<a name="198"><span class="lineNum">     198 </span>                :            : template &lt;class _Alloc, class _Pointer, class = void&gt;</a>
<a name="199"><span class="lineNum">     199 </span>                :            : struct __has_destroy : false_type { };</a>
<a name="200"><span class="lineNum">     200 </span>                :            : </a>
<a name="201"><span class="lineNum">     201 </span>                :            : template &lt;class _Alloc, class _Pointer&gt;</a>
<a name="202"><span class="lineNum">     202 </span>                :            : struct __has_destroy&lt;_Alloc, _Pointer, decltype(</a>
<a name="203"><span class="lineNum">     203 </span>                :            :     (void)declval&lt;_Alloc&gt;().destroy(declval&lt;_Pointer&gt;())</a>
<a name="204"><span class="lineNum">     204 </span>                :            : )&gt; : true_type { };</a>
<a name="205"><span class="lineNum">     205 </span>                :            : </a>
<a name="206"><span class="lineNum">     206 </span>                :            : // __has_max_size</a>
<a name="207"><span class="lineNum">     207 </span>                :            : template &lt;class _Alloc, class = void&gt;</a>
<a name="208"><span class="lineNum">     208 </span>                :            : struct __has_max_size : false_type { };</a>
<a name="209"><span class="lineNum">     209 </span>                :            : </a>
<a name="210"><span class="lineNum">     210 </span>                :            : template &lt;class _Alloc&gt;</a>
<a name="211"><span class="lineNum">     211 </span>                :            : struct __has_max_size&lt;_Alloc, decltype(</a>
<a name="212"><span class="lineNum">     212 </span>                :            :     (void)declval&lt;_Alloc&amp;&gt;().max_size()</a>
<a name="213"><span class="lineNum">     213 </span>                :            : )&gt; : true_type { };</a>
<a name="214"><span class="lineNum">     214 </span>                :            : </a>
<a name="215"><span class="lineNum">     215 </span>                :            : // __has_select_on_container_copy_construction</a>
<a name="216"><span class="lineNum">     216 </span>                :            : template &lt;class _Alloc, class = void&gt;</a>
<a name="217"><span class="lineNum">     217 </span>                :            : struct __has_select_on_container_copy_construction : false_type { };</a>
<a name="218"><span class="lineNum">     218 </span>                :            : </a>
<a name="219"><span class="lineNum">     219 </span>                :            : template &lt;class _Alloc&gt;</a>
<a name="220"><span class="lineNum">     220 </span>                :            : struct __has_select_on_container_copy_construction&lt;_Alloc, decltype(</a>
<a name="221"><span class="lineNum">     221 </span>                :            :     (void)declval&lt;_Alloc&gt;().select_on_container_copy_construction()</a>
<a name="222"><span class="lineNum">     222 </span>                :            : )&gt; : true_type { };</a>
<a name="223"><span class="lineNum">     223 </span>                :            : </a>
<a name="224"><span class="lineNum">     224 </span>                :            : _LIBCPP_SUPPRESS_DEPRECATED_POP</a>
<a name="225"><span class="lineNum">     225 </span>                :            : </a>
<a name="226"><span class="lineNum">     226 </span>                :            : template &lt;class _Alloc&gt;</a>
<a name="227"><span class="lineNum">     227 </span>                :            : struct _LIBCPP_TEMPLATE_VIS allocator_traits</a>
<a name="228"><span class="lineNum">     228 </span>                :            : {</a>
<a name="229"><span class="lineNum">     229 </span>                :            :     using allocator_type = _Alloc;</a>
<a name="230"><span class="lineNum">     230 </span>                :            :     using value_type = typename allocator_type::value_type;</a>
<a name="231"><span class="lineNum">     231 </span>                :            :     using pointer = typename __pointer&lt;value_type, allocator_type&gt;::type;</a>
<a name="232"><span class="lineNum">     232 </span>                :            :     using const_pointer = typename __const_pointer&lt;value_type, pointer, allocator_type&gt;::type;</a>
<a name="233"><span class="lineNum">     233 </span>                :            :     using void_pointer = typename __void_pointer&lt;pointer, allocator_type&gt;::type;</a>
<a name="234"><span class="lineNum">     234 </span>                :            :     using const_void_pointer = typename __const_void_pointer&lt;pointer, allocator_type&gt;::type;</a>
<a name="235"><span class="lineNum">     235 </span>                :            :     using difference_type = typename __alloc_traits_difference_type&lt;allocator_type, pointer&gt;::type;</a>
<a name="236"><span class="lineNum">     236 </span>                :            :     using size_type = typename __size_type&lt;allocator_type, difference_type&gt;::type;</a>
<a name="237"><span class="lineNum">     237 </span>                :            :     using propagate_on_container_copy_assignment = typename __propagate_on_container_copy_assignment&lt;allocator_type&gt;::type;</a>
<a name="238"><span class="lineNum">     238 </span>                :            :     using propagate_on_container_move_assignment = typename __propagate_on_container_move_assignment&lt;allocator_type&gt;::type;</a>
<a name="239"><span class="lineNum">     239 </span>                :            :     using propagate_on_container_swap = typename __propagate_on_container_swap&lt;allocator_type&gt;::type;</a>
<a name="240"><span class="lineNum">     240 </span>                :            :     using is_always_equal = typename __is_always_equal&lt;allocator_type&gt;::type;</a>
<a name="241"><span class="lineNum">     241 </span>                :            : </a>
<a name="242"><span class="lineNum">     242 </span>                :            : #ifndef _LIBCPP_CXX03_LANG</a>
<a name="243"><span class="lineNum">     243 </span>                :            :     template &lt;class _Tp&gt;</a>
<a name="244"><span class="lineNum">     244 </span>                :            :     using rebind_alloc = __allocator_traits_rebind_t&lt;allocator_type, _Tp&gt;;</a>
<a name="245"><span class="lineNum">     245 </span>                :            :     template &lt;class _Tp&gt;</a>
<a name="246"><span class="lineNum">     246 </span>                :            :     using rebind_traits = allocator_traits&lt;rebind_alloc&lt;_Tp&gt; &gt;;</a>
<a name="247"><span class="lineNum">     247 </span>                :            : #else  // _LIBCPP_CXX03_LANG</a>
<a name="248"><span class="lineNum">     248 </span>                :            :     template &lt;class _Tp&gt;</a>
<a name="249"><span class="lineNum">     249 </span>                :            :     struct rebind_alloc {</a>
<a name="250"><span class="lineNum">     250 </span>                :            :         using other = __allocator_traits_rebind_t&lt;allocator_type, _Tp&gt;;</a>
<a name="251"><span class="lineNum">     251 </span>                :            :     };</a>
<a name="252"><span class="lineNum">     252 </span>                :            :     template &lt;class _Tp&gt;</a>
<a name="253"><span class="lineNum">     253 </span>                :            :     struct rebind_traits {</a>
<a name="254"><span class="lineNum">     254 </span>                :            :         using other = allocator_traits&lt;typename rebind_alloc&lt;_Tp&gt;::other&gt;;</a>
<a name="255"><span class="lineNum">     255 </span>                :            :     };</a>
<a name="256"><span class="lineNum">     256 </span>                :            : #endif  // _LIBCPP_CXX03_LANG</a>
<a name="257"><span class="lineNum">     257 </span>                :            : </a>
<a name="258"><span class="lineNum">     258 </span>                :            :     _LIBCPP_NODISCARD_AFTER_CXX17 _LIBCPP_INLINE_VISIBILITY _LIBCPP_CONSTEXPR_AFTER_CXX17</a>
<a name="259"><span class="lineNum">     259 </span>                :<span class="lineNoCov">          0 :     static pointer allocate(allocator_type&amp; __a, size_type __n) {</span></a>
<a name="260"><span class="lineNum">     260 </span>                :<span class="lineNoCov">          0 :         return __a.allocate(__n);</span></a>
<a name="261"><span class="lineNum">     261 </span>                :            :     }</a>
<a name="262"><span class="lineNum">     262 </span>                :            : </a>
<a name="263"><span class="lineNum">     263 </span>                :            :     template &lt;class _Ap = _Alloc, class =</a>
<a name="264"><span class="lineNum">     264 </span>                :            :         _EnableIf&lt;__has_allocate_hint&lt;_Ap, size_type, const_void_pointer&gt;::value&gt; &gt;</a>
<a name="265"><span class="lineNum">     265 </span>                :            :     _LIBCPP_NODISCARD_AFTER_CXX17 _LIBCPP_INLINE_VISIBILITY _LIBCPP_CONSTEXPR_AFTER_CXX17</a>
<a name="266"><span class="lineNum">     266 </span>                :            :     static pointer allocate(allocator_type&amp; __a, size_type __n, const_void_pointer __hint) {</a>
<a name="267"><span class="lineNum">     267 </span>                :            :         _LIBCPP_SUPPRESS_DEPRECATED_PUSH</a>
<a name="268"><span class="lineNum">     268 </span>                :            :         return __a.allocate(__n, __hint);</a>
<a name="269"><span class="lineNum">     269 </span>                :            :         _LIBCPP_SUPPRESS_DEPRECATED_POP</a>
<a name="270"><span class="lineNum">     270 </span>                :            :     }</a>
<a name="271"><span class="lineNum">     271 </span>                :            :     template &lt;class _Ap = _Alloc, class = void, class =</a>
<a name="272"><span class="lineNum">     272 </span>                :            :         _EnableIf&lt;!__has_allocate_hint&lt;_Ap, size_type, const_void_pointer&gt;::value&gt; &gt;</a>
<a name="273"><span class="lineNum">     273 </span>                :            :     _LIBCPP_NODISCARD_AFTER_CXX17 _LIBCPP_INLINE_VISIBILITY _LIBCPP_CONSTEXPR_AFTER_CXX17</a>
<a name="274"><span class="lineNum">     274 </span>                :            :     static pointer allocate(allocator_type&amp; __a, size_type __n, const_void_pointer) {</a>
<a name="275"><span class="lineNum">     275 </span>                :            :         return __a.allocate(__n);</a>
<a name="276"><span class="lineNum">     276 </span>                :            :     }</a>
<a name="277"><span class="lineNum">     277 </span>                :            : </a>
<a name="278"><span class="lineNum">     278 </span>                :            :     _LIBCPP_INLINE_VISIBILITY _LIBCPP_CONSTEXPR_AFTER_CXX17</a>
<a name="279"><span class="lineNum">     279 </span>                :<span class="lineCov">          3 :     static void deallocate(allocator_type&amp; __a, pointer __p, size_type __n) _NOEXCEPT {</span></a>
<a name="280"><span class="lineNum">     280 </span>                :<span class="lineCov">          3 :         __a.deallocate(__p, __n);</span></a>
<a name="281"><span class="lineNum">     281 </span>                :<span class="lineCov">          3 :     }</span></a>
<a name="282"><span class="lineNum">     282 </span>                :            : </a>
<a name="283"><span class="lineNum">     283 </span>                :            :     template &lt;class _Tp, class... _Args, class =</a>
<a name="284"><span class="lineNum">     284 </span>                :            :         _EnableIf&lt;__has_construct&lt;allocator_type, _Tp*, _Args...&gt;::value&gt; &gt;</a>
<a name="285"><span class="lineNum">     285 </span>                :            :     _LIBCPP_INLINE_VISIBILITY _LIBCPP_CONSTEXPR_AFTER_CXX17</a>
<a name="286"><span class="lineNum">     286 </span>                :            :     static void construct(allocator_type&amp; __a, _Tp* __p, _Args&amp;&amp;... __args) {</a>
<a name="287"><span class="lineNum">     287 </span>                :            :         _LIBCPP_SUPPRESS_DEPRECATED_PUSH</a>
<a name="288"><span class="lineNum">     288 </span>                :            :         __a.construct(__p, _VSTD::forward&lt;_Args&gt;(__args)...);</a>
<a name="289"><span class="lineNum">     289 </span>                :            :         _LIBCPP_SUPPRESS_DEPRECATED_POP</a>
<a name="290"><span class="lineNum">     290 </span>                :            :     }</a>
<a name="291"><span class="lineNum">     291 </span>                :            :     template &lt;class _Tp, class... _Args, class = void, class =</a>
<a name="292"><span class="lineNum">     292 </span>                :            :         _EnableIf&lt;!__has_construct&lt;allocator_type, _Tp*, _Args...&gt;::value&gt; &gt;</a>
<a name="293"><span class="lineNum">     293 </span>                :            :     _LIBCPP_INLINE_VISIBILITY _LIBCPP_CONSTEXPR_AFTER_CXX17</a>
<a name="294"><span class="lineNum">     294 </span>                :            :     static void construct(allocator_type&amp;, _Tp* __p, _Args&amp;&amp;... __args) {</a>
<a name="295"><span class="lineNum">     295 </span>                :            : #if _LIBCPP_STD_VER &gt; 17</a>
<a name="296"><span class="lineNum">     296 </span>                :            :         _VSTD::construct_at(__p, _VSTD::forward&lt;_Args&gt;(__args)...);</a>
<a name="297"><span class="lineNum">     297 </span>                :            : #else</a>
<a name="298"><span class="lineNum">     298 </span>                :            :         ::new ((void*)__p) _Tp(_VSTD::forward&lt;_Args&gt;(__args)...);</a>
<a name="299"><span class="lineNum">     299 </span>                :            : #endif</a>
<a name="300"><span class="lineNum">     300 </span>                :            :     }</a>
<a name="301"><span class="lineNum">     301 </span>                :            : </a>
<a name="302"><span class="lineNum">     302 </span>                :            :     template &lt;class _Tp, class =</a>
<a name="303"><span class="lineNum">     303 </span>                :            :         _EnableIf&lt;__has_destroy&lt;allocator_type, _Tp*&gt;::value&gt; &gt;</a>
<a name="304"><span class="lineNum">     304 </span>                :            :     _LIBCPP_INLINE_VISIBILITY _LIBCPP_CONSTEXPR_AFTER_CXX17</a>
<a name="305"><span class="lineNum">     305 </span>                :            :     static void destroy(allocator_type&amp; __a, _Tp* __p) {</a>
<a name="306"><span class="lineNum">     306 </span>                :            :         _LIBCPP_SUPPRESS_DEPRECATED_PUSH</a>
<a name="307"><span class="lineNum">     307 </span>                :            :         __a.destroy(__p);</a>
<a name="308"><span class="lineNum">     308 </span>                :            :         _LIBCPP_SUPPRESS_DEPRECATED_POP</a>
<a name="309"><span class="lineNum">     309 </span>                :            :     }</a>
<a name="310"><span class="lineNum">     310 </span>                :            :     template &lt;class _Tp, class = void, class =</a>
<a name="311"><span class="lineNum">     311 </span>                :            :         _EnableIf&lt;!__has_destroy&lt;allocator_type, _Tp*&gt;::value&gt; &gt;</a>
<a name="312"><span class="lineNum">     312 </span>                :            :     _LIBCPP_INLINE_VISIBILITY _LIBCPP_CONSTEXPR_AFTER_CXX17</a>
<a name="313"><span class="lineNum">     313 </span>                :            :     static void destroy(allocator_type&amp;, _Tp* __p) {</a>
<a name="314"><span class="lineNum">     314 </span>                :            : #if _LIBCPP_STD_VER &gt; 17</a>
<a name="315"><span class="lineNum">     315 </span>                :            :         _VSTD::destroy_at(__p);</a>
<a name="316"><span class="lineNum">     316 </span>                :            : #else</a>
<a name="317"><span class="lineNum">     317 </span>                :            :         __p-&gt;~_Tp();</a>
<a name="318"><span class="lineNum">     318 </span>                :            : #endif</a>
<a name="319"><span class="lineNum">     319 </span>                :            :     }</a>
<a name="320"><span class="lineNum">     320 </span>                :            : </a>
<a name="321"><span class="lineNum">     321 </span>                :            :     template &lt;class _Ap = _Alloc, class =</a>
<a name="322"><span class="lineNum">     322 </span>                :            :         _EnableIf&lt;__has_max_size&lt;const _Ap&gt;::value&gt; &gt;</a>
<a name="323"><span class="lineNum">     323 </span>                :            :     _LIBCPP_INLINE_VISIBILITY _LIBCPP_CONSTEXPR_AFTER_CXX17</a>
<a name="324"><span class="lineNum">     324 </span>                :<span class="lineNoCov">          0 :     static size_type max_size(const allocator_type&amp; __a) _NOEXCEPT {</span></a>
<a name="325"><span class="lineNum">     325 </span>                :            :         _LIBCPP_SUPPRESS_DEPRECATED_PUSH</a>
<a name="326"><span class="lineNum">     326 </span>                :<span class="lineNoCov">          0 :         return __a.max_size();</span></a>
<a name="327"><span class="lineNum">     327 </span>                :            :         _LIBCPP_SUPPRESS_DEPRECATED_POP</a>
<a name="328"><span class="lineNum">     328 </span>                :            :     }</a>
<a name="329"><span class="lineNum">     329 </span>                :            :     template &lt;class _Ap = _Alloc, class = void, class =</a>
<a name="330"><span class="lineNum">     330 </span>                :            :         _EnableIf&lt;!__has_max_size&lt;const _Ap&gt;::value&gt; &gt;</a>
<a name="331"><span class="lineNum">     331 </span>                :            :     _LIBCPP_INLINE_VISIBILITY _LIBCPP_CONSTEXPR_AFTER_CXX17</a>
<a name="332"><span class="lineNum">     332 </span>                :            :     static size_type max_size(const allocator_type&amp;) _NOEXCEPT {</a>
<a name="333"><span class="lineNum">     333 </span>                :            :         return numeric_limits&lt;size_type&gt;::max() / sizeof(value_type);</a>
<a name="334"><span class="lineNum">     334 </span>                :            :     }</a>
<a name="335"><span class="lineNum">     335 </span>                :            : </a>
<a name="336"><span class="lineNum">     336 </span>                :            :     template &lt;class _Ap = _Alloc, class =</a>
<a name="337"><span class="lineNum">     337 </span>                :            :         _EnableIf&lt;__has_select_on_container_copy_construction&lt;const _Ap&gt;::value&gt; &gt;</a>
<a name="338"><span class="lineNum">     338 </span>                :            :     _LIBCPP_INLINE_VISIBILITY _LIBCPP_CONSTEXPR_AFTER_CXX17</a>
<a name="339"><span class="lineNum">     339 </span>                :            :     static allocator_type select_on_container_copy_construction(const allocator_type&amp; __a) {</a>
<a name="340"><span class="lineNum">     340 </span>                :            :         return __a.select_on_container_copy_construction();</a>
<a name="341"><span class="lineNum">     341 </span>                :            :     }</a>
<a name="342"><span class="lineNum">     342 </span>                :            :     template &lt;class _Ap = _Alloc, class = void, class =</a>
<a name="343"><span class="lineNum">     343 </span>                :            :         _EnableIf&lt;!__has_select_on_container_copy_construction&lt;const _Ap&gt;::value&gt; &gt;</a>
<a name="344"><span class="lineNum">     344 </span>                :            :     _LIBCPP_INLINE_VISIBILITY _LIBCPP_CONSTEXPR_AFTER_CXX17</a>
<a name="345"><span class="lineNum">     345 </span>                :            :     static allocator_type select_on_container_copy_construction(const allocator_type&amp; __a) {</a>
<a name="346"><span class="lineNum">     346 </span>                :            :         return __a;</a>
<a name="347"><span class="lineNum">     347 </span>                :            :     }</a>
<a name="348"><span class="lineNum">     348 </span>                :            : };</a>
<a name="349"><span class="lineNum">     349 </span>                :            : </a>
<a name="350"><span class="lineNum">     350 </span>                :            : template &lt;class _Traits, class _Tp&gt;</a>
<a name="351"><span class="lineNum">     351 </span>                :            : struct __rebind_alloc_helper {</a>
<a name="352"><span class="lineNum">     352 </span>                :            : #ifndef _LIBCPP_CXX03_LANG</a>
<a name="353"><span class="lineNum">     353 </span>                :            :     using type _LIBCPP_NODEBUG_TYPE = typename _Traits::template rebind_alloc&lt;_Tp&gt;;</a>
<a name="354"><span class="lineNum">     354 </span>                :            : #else</a>
<a name="355"><span class="lineNum">     355 </span>                :            :     using type = typename _Traits::template rebind_alloc&lt;_Tp&gt;::other;</a>
<a name="356"><span class="lineNum">     356 </span>                :            : #endif</a>
<a name="357"><span class="lineNum">     357 </span>                :            : };</a>
<a name="358"><span class="lineNum">     358 </span>                :            : </a>
<a name="359"><span class="lineNum">     359 </span>                :            : // __is_default_allocator</a>
<a name="360"><span class="lineNum">     360 </span>                :            : template &lt;class _Tp&gt;</a>
<a name="361"><span class="lineNum">     361 </span>                :            : struct __is_default_allocator : false_type { };</a>
<a name="362"><span class="lineNum">     362 </span>                :            : </a>
<a name="363"><span class="lineNum">     363 </span>                :            : template &lt;class _Tp&gt;</a>
<a name="364"><span class="lineNum">     364 </span>                :            : struct __is_default_allocator&lt;_VSTD::allocator&lt;_Tp&gt; &gt; : true_type { };</a>
<a name="365"><span class="lineNum">     365 </span>                :            : </a>
<a name="366"><span class="lineNum">     366 </span>                :            : // __is_cpp17_move_insertable</a>
<a name="367"><span class="lineNum">     367 </span>                :            : template &lt;class _Alloc, class = void&gt;</a>
<a name="368"><span class="lineNum">     368 </span>                :            : struct __is_cpp17_move_insertable</a>
<a name="369"><span class="lineNum">     369 </span>                :            :     : is_move_constructible&lt;typename _Alloc::value_type&gt;</a>
<a name="370"><span class="lineNum">     370 </span>                :            : { };</a>
<a name="371"><span class="lineNum">     371 </span>                :            : </a>
<a name="372"><span class="lineNum">     372 </span>                :            : template &lt;class _Alloc&gt;</a>
<a name="373"><span class="lineNum">     373 </span>                :            : struct __is_cpp17_move_insertable&lt;_Alloc, _EnableIf&lt;</a>
<a name="374"><span class="lineNum">     374 </span>                :            :     !__is_default_allocator&lt;_Alloc&gt;::value &amp;&amp;</a>
<a name="375"><span class="lineNum">     375 </span>                :            :     __has_construct&lt;_Alloc, typename _Alloc::value_type*, typename _Alloc::value_type&amp;&amp;&gt;::value</a>
<a name="376"><span class="lineNum">     376 </span>                :            : &gt; &gt; : true_type { };</a>
<a name="377"><span class="lineNum">     377 </span>                :            : </a>
<a name="378"><span class="lineNum">     378 </span>                :            : // __is_cpp17_copy_insertable</a>
<a name="379"><span class="lineNum">     379 </span>                :            : template &lt;class _Alloc, class = void&gt;</a>
<a name="380"><span class="lineNum">     380 </span>                :            : struct __is_cpp17_copy_insertable</a>
<a name="381"><span class="lineNum">     381 </span>                :            :     : integral_constant&lt;bool,</a>
<a name="382"><span class="lineNum">     382 </span>                :            :         is_copy_constructible&lt;typename _Alloc::value_type&gt;::value &amp;&amp;</a>
<a name="383"><span class="lineNum">     383 </span>                :            :         __is_cpp17_move_insertable&lt;_Alloc&gt;::value</a>
<a name="384"><span class="lineNum">     384 </span>                :            :     &gt;</a>
<a name="385"><span class="lineNum">     385 </span>                :            : { };</a>
<a name="386"><span class="lineNum">     386 </span>                :            : </a>
<a name="387"><span class="lineNum">     387 </span>                :            : template &lt;class _Alloc&gt;</a>
<a name="388"><span class="lineNum">     388 </span>                :            : struct __is_cpp17_copy_insertable&lt;_Alloc, _EnableIf&lt;</a>
<a name="389"><span class="lineNum">     389 </span>                :            :     !__is_default_allocator&lt;_Alloc&gt;::value &amp;&amp;</a>
<a name="390"><span class="lineNum">     390 </span>                :            :     __has_construct&lt;_Alloc, typename _Alloc::value_type*, const typename _Alloc::value_type&amp;&gt;::value</a>
<a name="391"><span class="lineNum">     391 </span>                :            : &gt; &gt;</a>
<a name="392"><span class="lineNum">     392 </span>                :            :     : __is_cpp17_move_insertable&lt;_Alloc&gt;</a>
<a name="393"><span class="lineNum">     393 </span>                :            : { };</a>
<a name="394"><span class="lineNum">     394 </span>                :            : </a>
<a name="395"><span class="lineNum">     395 </span>                :            : #undef _LIBCPP_ALLOCATOR_TRAITS_HAS_XXX</a>
<a name="396"><span class="lineNum">     396 </span>                :            : </a>
<a name="397"><span class="lineNum">     397 </span>                :            : _LIBCPP_END_NAMESPACE_STD</a>
<a name="398"><span class="lineNum">     398 </span>                :            : </a>
<a name="399"><span class="lineNum">     399 </span>                :            : _LIBCPP_POP_MACROS</a>
<a name="400"><span class="lineNum">     400 </span>                :            : </a>
<a name="401"><span class="lineNum">     401 </span>                :            : #endif  // _LIBCPP___MEMORY_ALLOCATOR_TRAITS_H</a>
</pre>
      </td>
    </tr>
  </table>
  <br>

  <table width="100%" border=0 cellspacing=0 cellpadding=0>
    <tr><td class="ruler"><img src="../../../../../../../../../../../glass.png" width=3 height=3 alt=""></td></tr>
    <tr><td class="versionInfo">Generated by: <a href="http://ltp.sourceforge.net/coverage/lcov.php" target="_parent">LCOV version 1.14</a></td></tr>
  </table>
  <br>

</body>
</html>
